package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.QuaCausePageParam;
import com.xinsoft.entity.po.QuaCause;
import com.baomidou.mybatisplus.extension.service.IService;
import org.json.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
* @author hsm
* @description 针对表【qua_cause(不良原因)】的数据库操作Service
* @createDate 2023-08-16 17:23:56
*/
public interface QuaCauseService extends IService<QuaCause> {

    IPage<QuaCause> findPageListByParam(QuaCausePageParam param);

    QuaCause addQuaCause(QuaCause quaCause);

    QuaCause editQuaCause(QuaCause quaCause);

    void del(List<Integer> ids);

    QuaCause getQuaCause(Integer id);

    JSONObject importExcel(MultipartFile multipartFile, HttpServletResponse response) throws IOException;
}
